package top.dark.design.patterns.bridge;

/**
 * Author: Darkn
 * description:
 * Create Time: 2021/4/26 15:32
 */
public class Client {
    public static void main(String[] args) {
        Phone phone1 = new FoldedPhone(new Huawei());
        phone1.open();
        phone1.call();
        phone1.close();
        System.out.println("+==================================");

        Phone phone2 = new UprightPhone(new Huawei());
        phone2.open();
        phone2.call();
        phone2.close();
    }
}
